home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / Pac Man.swf / scripts / frame_20 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  577 b   |  37 lines

  1. if(munchcount eq "1")
  2. {
  3.    score += "200";
  4.    feedback = "200";
  5.    tellTarget("/dot/countmunch")
  6.    {
  7.       gotoAndPlay(2);
  8.    }
  9. }
  10. else if(munchcount eq "2")
  11. {
  12.    feedback = "400";
  13.    score += "400";
  14.    tellTarget("/dot/countmunch")
  15.    {
  16.       gotoAndPlay(2);
  17.    }
  18. }
  19. else if(munchcount eq "3")
  20. {
  21.    feedback = "800";
  22.    score += "800";
  23.    tellTarget("/dot/countmunch")
  24.    {
  25.       gotoAndPlay(2);
  26.    }
  27. }
  28. else if(munchcount eq "4")
  29. {
  30.    score += "1600";
  31.    feedback = "1600";
  32.    tellTarget("/dot/countmunch")
  33.    {
  34.       gotoAndPlay(2);
  35.    }
  36. }
  37.